SubscribeFallbackOption enum Null safety

订阅端音视频流回退选项

Constants

audioOnly → const SubscribeFallbackOption

下行网络不佳或设备性能不足时,取消接收视频,仅接收音频

const SubscribeFallbackOption(2)
disable → const SubscribeFallbackOption

下行网络不佳或设备性能不足时,不对音视频流作回退处理,默认设置。

const SubscribeFallbackOption(0)
streamLow → const SubscribeFallbackOption

下行网络不佳或设备性能不足时,对视频流做降级处理

该设置仅对发布端调用 RTCVideo.enableSimulcastMode 开启发送多路流功能的情况生效。

const SubscribeFallbackOption(1)
values → const List<SubscribeFallbackOption>

A constant List of the values in this enum, in order of their declaration.

const List<SubscribeFallbackOption>

Properties

hashCode → int
The hash code for this object. [...]
read-only, inherited
index → int

The integer index of this enum.

final
runtimeType → Type
A representation of the runtime type of the object.
read-only, inherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() → String
A string representation of this object. [...]
override

Operators

operator ==(Object other) → bool
The equality operator. [...]
inherited